userAgent

abstract fun userAgent(): String

Returns a string that represents the default user-agent.

The default user-agent string can be configured through the userAgent method. If the default user-agent string has not been specified, then this method returns a string obtained from the Chromium engine.

Throws

when the profile is deleted or its engine is closed